package cn.wolfcode.trip.base.service;

import cn.wolfcode.trip.base.domain.PrivateMessage;
import cn.wolfcode.trip.base.query.QueryObject;
import com.github.pagehelper.PageInfo;

public interface IPrivateMessageService {
    /*void saveSend(PrivateMessage privateMessage);*/
    void saveReceiver(PrivateMessage privateMessage);

    Integer queryPrivateMessageCount(Long uid);

    void changeStatus(Long uid);

    PageInfo<PrivateMessage> query(QueryObject qo);

    PrivateMessage queryOneForId(Long id);

    void deleteLetter(Long id);
}
